package com.example.demo2;

public class Login {
  private Student student; 
  public Student getStudent() {
      return student;
  }
  public void setStudent(Student student) {
      this.student = student;
  }
  public int login(){
      System.out.println(student.getName()+"正在登录。。。");
      return 1;
  }
}
